POV-Ray : Newsgroups : povray.advanced-users : CSG-texture-problems. : CSG-texture-problems. Server Time
30 Jul 2024 04:23:33 EDT (-0400)
  CSG-texture-problems.  
From: Simen Kvaal
Date: 27 Mar 2000 13:57:30
Message: <38dfaf1a@news.povray.org>
Given this code (actual sample); why does not MinEllipsoide2 produce exactly
the same results? What are the precedence of the textures here? Logically,
the whole intersection should get the reflective finish, but instead it gets
the default. What am I missing?

TIA

Simen.


#declare MinEllipsoide =
difference {
        sphere {
         <0, 0, 0>, 1
         pigment {
          color red 1.0 green 0.3 blue 0.3
         }
               finish {
                        specular 0.7
                        roughness 0.005
                        reflection 0.5
               }
         scale <1.3, 1.0, 0.3>
        }
        sphere { <0, 0, 0>, 0.5
                pigment {
                        color red 1.0 green 1.0 blue 0.0
                }
               finish {
                        specular 0.7
                        roughness 0.005
                        reflection 0.5
               }
        }

        rotate <40, 30, 0>
 translate <-4, 0, 0>
}

#declare MinEllipsoide2 =
difference {
        sphere {
         <0, 0, 0>, 1
         pigment {
          color red 1.0 green 0.3 blue 0.3
         }
         scale <1.3, 1.0, 0.3>
        }
        sphere { <0, 0, 0>, 0.5
                pigment {
                        color red 1.0 green 1.0 blue 0.0
                }
        }
       finish {
                specular 0.7
                roughness 0.005
                reflection 0.5
       }

        rotate <40, 30, 0>
 translate <-4, 0, 0>
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.